package com.bc.mes.mbg.mapper;

import com.bc.mes.mbg.model.dv.DvMachineryType;
import com.bc.mes.mbg.model.dv.DvMachineryTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DvMachineryTypeMapper {
    int countByExample(DvMachineryTypeExample example);

    int deleteByExample(DvMachineryTypeExample example);

    int deleteByPrimaryKey(Long machineryTypeId);

    int insert(DvMachineryType record);

    int insertSelective(DvMachineryType record);

    List<DvMachineryType> selectByExample(DvMachineryTypeExample example);

    DvMachineryType selectByPrimaryKey(Long machineryTypeId);

    int updateByExampleSelective(@Param("record") DvMachineryType record, @Param("example") DvMachineryTypeExample example);

    int updateByExample(@Param("record") DvMachineryType record, @Param("example") DvMachineryTypeExample example);

    int updateByPrimaryKeySelective(DvMachineryType record);

    int updateByPrimaryKey(DvMachineryType record);

    List<DvMachineryType> selectAll();

}